Skip Headers

Oracle® HTTP Server Administrator's Guide 10g Release 2 (10.2) Part Number B14190-01 |
Home | Book List | Contents | Index | Master Index | Feedback

Previous | Next
| View PDF

# A Configuration Files

This appendix lists commonly used Oracle HTTP Server configuration files.

Files discussed are:

- dms.conf

- httpd.conf

- mime.types

- opmn.xml

- oracle_apache.conf

- php.ini

- ssl.conf

## A.1 dms.conf

Enables you to monitor performance of site components with Oracle's Dynamic Monitoring Service (DMS).

It is located at:

- UNIX: `ORACLE_HOME``/Apache/Apache/conf`

- Windows: `ORACLE_HOME``\Apache\Apache\conf`

See Also: Oracle Application Server Performance Guide

## A.2 httpd.conf

This is a server configuration file which typically contains directives that affect how the server runs, such as user and group IDs it should use, and location of other files. Because the server configuration file is the main file that the server starts with, Oracle HTTP Server does not include any directive that says where to locate it. The location is passed on command line when the server starts.

It is located at:

- UNIX: `ORACLE_HOME``/Apache/Apache/conf`

- Windows: `ORACLE_HOME``\Apache\Apache\conf`

You should use only this file, and not `srm.conf` or `access.conf` because it is much easier to manage a single configuration file.

### A.2.1 httpd.conf File Structure

`httpd.conf` is arranged in the following sections:

- Global Environment

- Main Server Configuration

- Virtual Hosts Parameters

#### A.2.1.1 Global Environment

This is section one of the `httpd.conf` file. It contains configuration directives dealing with Oracle HTTP Server.

See Also: "Specifying File Locations" "Configuring the Number of Processes and Connections" "Specifying Listener Ports and Addresses"

#### A.2.1.2 Main Server Configuration

This is section two of the `httpd.conf` file. It contains the directives of the default server.

See Also: "Setting Server and Administrator Functions".

#### A.2.1.3 Virtual Hosts Parameters

This is section three of the `httpd.conf` file. It contains parameters specific to virtual hosts, which override some of the main server configuration defaults.

## A.3 mime.types

Controls the Multi Internet media types that are sent to the client for the given file extensions. Sending the correct media type to the client is important so that the client knows how to handle the content of the file. You can add extra types in the mime type file or add an `AddType` directive in the configuration file.

It is located at:

- UNIX: `ORACLE_HOME``/Apache/Apache/conf`

- Windows: `ORACLE_HOME``\Apache\Apache\conf`

See Also: "mod_mime"

## A.4 opmn.xml

Describes the processes that Oracle Process Manager and Notification Server (OPMN) manages within an Oracle Database installation.

The `opmn.xml` file is the main configuration file for OPMN. It contains information for the ONS, the PM, and Oracle Database component-specific configuration. `opmn.xml` shows you which Oracle Database components OPMN is managing on your system. It contains Oracle Database component entries arranged in the following hierarchical structure:

    <ias-component>
      <process-type>
        <process-set>

- <ias-component>: This entry represents the Oracle Database component. It enables management of the component for processes such as starting and stopping.

- <process-type>: This subcomponent of the `<ias-component>` entry declares the type of process to run by association with a specific PM module.

- <process-set>: This sub-subcomponent of the `<ias-component>` entry enables you to declare different sets of optional runtime arguments and environments for the Oracle Database component.

`opmn.xml` is located at:

- UNIX: `ORACLE_HOME``/opmn/conf`

- Windows: `ORACLE_HOME``\opmn\conf`

  See Also: Oracle Process Manager and Notification Server Administrator's Guide

## A.5 oracle_apache.conf

Stores configuration files of supported modules. It contains directives to include the following configuration files:

- aqxml.conf

- plsql.conf

### A.5.1 aqxml.conf

Enables and configures Advanced Queuing.

It is located at:

- UNIX: `ORACLE_HOME``/Apache/Apache/conf`

- Windows: `ORACLE_HOME``\Apache\Apache\conf`

### A.5.2 plsql.conf

Configures and loads the PL/SQL module.

It is located at:

- UNIX: `ORACLE_HOME``/Apache/modplsql/conf`

- Windows: `ORACLE_HOME``\Apache\modplsql\conf`

See Also: "mod_plsql"

## A.6 php.ini

Configures `mod_php`. This file should not be renamed as PHP looks for this specific file name.

It is located at:

- UNIX: `ORACLE_HOME``/Apache/Apache/conf`

- Windows: `ORACLE_HOME``\Apache\Apache\conf`

See Also: "mod_php"

## A.7 ssl.conf

`ssl.conf` includes the SSL definitions and virtual host container. Out of the box, SSL is disabled by default.

It is located at:

- UNIX: `ORACLE_HOME``/Apache/Apache/conf`

- Windows: `ORACLE_HOME``\Apache\Apache\conf`